package org.rainbowinverted.charging.device.connect.bl.server.message.in;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.rainbowinverted.charging.device.api.operation.dto.resp.EventInfo;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 设备事件报告dto
 *
 * @author huaiping
 */
@Data
@AllArgsConstructor(staticName = "of")
public class BlDeviceEventReportIn implements Serializable {
    /**
     * 设备编号
     */
    private Long deviceNo;
    /**
     * 枪号
     */
    private Integer gunNo;
    /**
     * 时间
     */
    private LocalDateTime time;
    /**
     * 事件信息
     */
    private BlDeviceEventInfoIn eventInfo;
    /**
     * 报告时间
     */
    private LocalDateTime reportTime;
}
